package org.springmvc.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "_User")
public class User extends BaseEntity {
	private static final long serialVersionUID = 1L;

	private String name;

	private String password;

	private Boolean sex;

	public String getName() {
		return name;
	}

	public User setName(String name) {
		this.name = name;
		return this;
	}

	public String getPassword() {
		return password;
	}

	public User setPassword(String password) {
		this.password = password;
		return this;
	}

	public Boolean getSex() {
		return sex;
	}

	public User setSex(Boolean sex) {
		this.sex = sex;
		return this;
	}
	
}
